<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>洛天工作室</title>

    <link href="css/ui-lightness/jquery-ui-1.10.4.custom.css"
          rel="stylesheet">
    <script src="js/jquery-1.10.2.js"></script>
    <script src="js/jquery-ui-1.10.4.custom.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#accordion").accordion();
        });
    </script>
    <style type="text/css">
        body {
            font: 72.5% "Trebuchet MS", sans-serif;
            margin: 50px;
            background-color: #7ecef4;
        }

        .datalist {
            border: 1px solid #0058a3; /* 表格边框 */
            font-family: Arial;
            border-collapse: collapse; /* 边框重叠 */
            background-color: #eaf5ff; /* 表格背景色 */
            font-size: 14px;
        }

        .datalist caption {
            padding-bottom: 5px;
            font: bold 1.4em;
            text-align: left;
        }

        .datalist th {
            border: 1px solid #0058a3; /* 行名称边框 */
            background-color: #4bacff; /* 行名称背景色 */
            color: #FFFFFF; /* 行名称颜色 */
            font-weight: bold;
            padding-top: 4px;
            padding-bottom: 4px;
            padding-left: 12px;
            padding-right: 12px;
            text-align: center;
        }

        .datalist td {
            border: 1px solid #0058a3; /* 单元格边框 */
            text-align: left;
            padding-top: 4px;
            padding-bottom: 4px;
            padding-left: 10px;
            padding-right: 10px;
        }

        .datalist tr.altrow {
            background-color: #c7e5ff; /* 隔行变色 */
        }

        .flag {
            color: red;
        }
    </style>

</head>

<body>
<div>
    <jsp:include page="teacherServiceNavigation.jsp"></jsp:include>
</div>
<div id="accordion">
    <h3>教师管理&nbsp;&gt;&nbsp;教师信息添加成功&nbsp;&nbsp;<span style="color:#000;">(目前已有<s:property value="count"/>名教师注册)</span>
    </h3>
    <div align="center">
        <form id="form1" name="form1" method="post" action="teacherFormRegister.action">
            <table class="datalist">
                <tr>
                    <th width="75"><strong>教师编号</strong></th>
                    <td width="280"><s:property value="teacher.bianHao"/></td>
                </tr>
                <tr>
                    <th><strong>教师姓名</strong></th>
                    <td><s:property value="teacher.name"/></td>
                </tr>
                <tr>
                    <th><strong>身份证号</strong></th>
                    <td><s:property value="teacher.idCard"/></td>
                </tr>
                <tr>
                    <th><strong>入职时间</strong></th>
                    <td><s:property value="teacher.jobTime"/></td>
                </tr>
                <tr>
                    <th><strong>民&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;族</strong></th>
                    <td><s:property value="teacher.nation"/></td>
                </tr>
                <tr>
                    <th><strong>最高学历</strong></th>
                    <td><s:property value="teacher.eduBg"/></td>
                </tr>
                <tr>
                    <th width="75"><strong>登录密码</strong></th>
                    <td width="327"><s:property value="teacher.password"/></td>
                </tr>
                <tr>
                    <th width="75"><strong>所带课程</strong></th>
                    <td>
                        <s:property value="course.name"/>
                    </td>
                </tr>
                <tr>
                    <th><strong>性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别</strong></th>
                    <td><s:property value="teacher.sex"/></td>
                </tr>
                <tr>
                    <th><strong>家庭地址</strong></th>
                    <td><s:property value="teacher.address"/></td>
                </tr>
                <tr>
                    <th><strong>联系电话</strong></th>
                    <td><s:property value="teacher.phone"/></td>
                </tr>
                <tr>
                    <th><strong>政治面貌</strong></th>
                    <td><s:property value="teacher.polStat"/></td>
                </tr>
                <tr>
                    <th><strong>毕业院校</strong></th>
                    <td><s:property value="teacher.graIns"/></td>
                </tr>
            </table>
        </form>
    </div>
</div>
</body>
</html>
